﻿@model AutoPartsSearch.Domain.Entities.BlackList
<fieldset>
    <table class="table-form">
        <tbody>
            <tr>
                <td>
                    @Html.LabelFor(model => model.Id)
                </td>
                <td>
                    @Html.DisplayFor(model => model.Id)
                    @Html.HiddenFor(model => model.Id)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(model => model.Name)
                </td>
                <td>
                    @Html.DisplayFor(model => model.Name)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(model => model.City)
                </td>
                <td>
                    @Html.DisplayFor(x => x.City)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(model => model.Phone)
                </td>
                <td>
                    @Html.DisplayFor(model => model.Phone)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(model => model.EMail)
                </td>
                <td>
                    @Html.DisplayFor(model => model.EMail)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(model => model.Comments)
                </td>
                <td>
                    @Html.TextAreaFor(model => model.Comments, 8, 100, null)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(model => model.IsApproved)
                </td>
                <td>
                    @Html.EditorFor(model => model.IsApproved)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(model => model.Seller)
                </td>
                <td>
                    @Html.ActionLink(Model.Seller.CompanyName, "Details", "SellerAccounts", new { id = Model.Seller.Id }, null)
                </td>
            </tr>
        </tbody>
    </table>
</fieldset>
